﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Server.Data
{
    /// <summary>
    /// Class which hold the message values constants
    /// </summary>
    class NetMessages
    {
        #region Network Message Type Constants
        public const Int16 MESSAGE_DISCOVER = 0;
        public const Int16 MESSAGE_CREATE_TABLE = 1;
        public const Int16 MESSAGE_JOIN_TABLE = 2;
        public const Int16 MESSAGE_START_GAME = 3;
        public const Int16 MESSAGE_CANCEL_GAME = 4;
        public const Int16 MESSAGE_CHANGE_CARDS = 5;
        public const Int16 MESSAGE_DRAW_CARD = 6;
        public const Int16 MESSAGE_PUT_CARD = 7;
        public const Int16 MESSAGE_CONTINUE = 8;
        public const Int16 MESSAGE_SCORE = 9;
        public const Int16 MESSAGE_SCORE_HELP = 10;
        public const Int16 MESSAGE_DISCARD_CARDS = 11;
        public const Int16 MESSAGE_PUT_HOUSES = 12;
        public const Int16 MESSAGE_QUIT = 13;

        public const Int16 MESSAGE_OFFER = 14;
        public const Int16 MESSAGE_NACK_OFFER = 15;

        public const Int16 MESSAGE_ACK_JOIN_TABLE = 16;
        public const Int16 MESSAGE_NACK_JOIN_TABLE = 17;
        public const Int16 MESSAGE_USER_JOIN_TABLE = 18;

        public const Int16 MESSAGE_USER_START = 19;
        public const Int16 MESSAGE_USER_CANCEL = 20;
        public const Int16 MESSAGE_GAME_START = 21;

        public const Int16 MESSAGE_USER_TURN = 22;

        public const Int16 MESSAGE_ACK_CREATE_TABLE = 23;
        public const Int16 MESSAGE_NACK_CREATE_TABLE = 24;

        public const Int16 MESSAGE_DISCARD_PUBLIC_CARDS = 25;

        public const Int16 MESSAGE_PLAYERS = 26;

        public const Int16 MESSAGE_DISCONNECT = 27;
        #endregion

    }
}
